package ch2;

import java.util.Scanner;

public class Ex20 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("输入余额和利息：");
        int ye = in.nextInt();
        double lx = in.nextDouble();
        System.out.println("下个月的利息：" + ye * (lx / 1200));
    }
}
